package com.molichuxing.services.infrastructure.dto.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 消息推送
 * </p>
 *
 * @author 
 * @since 2019-08-14
 */
@Data
public class MsgPushDto extends ResponseRootDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private String code;

    /**
     * 消息类型(1:保养，2：违章 )
     */
    @ApiModelProperty(value = "消息类型")
    private Integer type;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 内容
     */
    @ApiModelProperty(value = "推送内容")
    private String content;

    /**
     * 接收方类型(1:op,2:C端)
     */
    @ApiModelProperty(value = "接收方类型")
    private Integer userType;

    /**
     * 接收人
     */
    @ApiModelProperty(value = "接收人")
    private Integer receiveMemberId;

    /**
     * 接收人用户名
     */
    @ApiModelProperty(value = "接收人用户名")
    private String receiveMemberName;

    /**
     * 发送人
     */
    @ApiModelProperty(value = "发送人")
    private Integer sendOpId;

    /**
     * 发送人用户名
     */
    @ApiModelProperty(value = "发送人用户名")
    private String sendOpName;

    /**
     * 发送时间
     */
    @ApiModelProperty(value = "发送时间")
    private LocalDateTime sendTime;

    /**
     * 发送状态(0:未发布，1：已发布)
     */
    @ApiModelProperty(value = "发布状态")
    private Integer status;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime gmtModified;


}
